<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link href="${request.contextPath}/statics/css/index/addDcrw.css" type="text/css" rel="stylesheet"/>
    <!--<link rel="stylesheet" href="${request.contextPath}/statics/css/standardAdd.css">-->
</head>
<!--<link rel="stylesheet" href="${request.contextPath}/statics/plugins/chosen/docsupport/style.css">-->
<link rel="stylesheet" href="${request.contextPath}/statics/plugins/chosen/chosen.css">
<link href="${request.contextPath}/statics/plugins/My97DatePicker/skin/WdatePicker.css"/>
<script src="${request.contextPath}/statics/plugins/My97DatePicker/WdatePicker.js"></script>
<script src="${request.contextPath}/statics/libs/jquery.min.js"></script>
<script src="${request.contextPath}/statics/libs/vue.min.js"></script>
<!--<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>-->
<script src="${request.contextPath}/statics/libs/router.js"></script>
<script src="${request.contextPath}/statics/libs/bootstrap.min.js"></script>
<!--<script src="${request.contextPath}/statics/libs/app.js"></script>-->
<script src="${request.contextPath}/statics/plugins/layer/layer.js"></script>
<script src="${request.contextPath}/statics/libs/jquery-3.3.1.min.js" type="text/javascript"></script>
<script src="${request.contextPath}/statics/plugins/chosen/chosen.jquery.js" type="text/javascript"></script>
<link rel="stylesheet" href="${request.contextPath}/statics/css/index.css">
<script src="${request.contextPath}/statics/plugins/element/index.js"></script>

<body>
<!--<div id="rrapp" v-cloak>-->
<div class="center-form-box" v-if="firstAddShowFlag">
    <ul class="center-form-list">
        <li class="center-form-item clearfix">
            <label class="center-form-label"><span style="color: red">*</span>记录类型：</label>
            <div class="center-form-content">
                <select class="center-from-select2" id="recordType"
                        onchange="updateJcxList(this.options[this.options.selectedIndex].value)">
                    <!--recordTypeSelect(this.options[this.options.selectedIndex].value)-->
                    <!--<option value="1">队伍管理</option>-->
                    <option value="3">队伍管理</option>
                    <option value="4">执法执勤</option>
                    <option value="5">社会管理</option>
                    <option value="6">其他督察</option>
                </select>
            </div>
        </li>
        <!-- <li class="center-form-item clearfix">
            <label class="center-form-label"><span style="color: red">*</span>标题：</label>
            <div class="center-form-content3">
                <input id="" type="text" class="center-from-input"/>
            </div>
        </li> -->
        <li class="center-form-item clearfix">
            <label class="center-form-label"><span style="color: red">*</span>督察时间：</label>
            <div class="center-form-content">
                <input type="text" id="dcTime" class="Wdate"
                       onfocus="WdatePicker({skin:'twoer',dateFmt:'yyyy-MM-dd HH:mm:ss'})">
            </div>
        </li>
        <li class="center-form-item3 clearfix">
            <label class="center-form-label4"><span style="color: red">*</span>督察人员：</label>
            <div class="center-form-content4">
                <select data-placeholder="选择督察人员" id="dcry" class="chosen-select" multiple>
                    <option value="-1"></option>
                </select>
                <!--<span style="width: 130px" id="inspectPersonSpan"></span><a
                    href="javascript:checkedSupervisionPerson()">选择督察人员</a>
                <div id="supervisionPerson" style="display: none;">

                </div>-->
            </div>
        </li>
        <li class="center-form-item2 clearfix">
            <label class="center-form-label2"><span style="color: red">*</span>督察单位：</label>
            <div class="center-form-content3">
                <input type="hidden" id="dcdwId" value="${dquser.deptId}"/>
                <input type="hidden" id="createUserId" value="${dquser.userId}"/>
                <input type="text" value="${dquser.deptName}" disabled class="center-from-input"/>
            </div>
        </li>

        <!--  <li class="center-form-item3 clearfix" style="display: none" id="unitResponsiblePerson">
              <label class="center-form-label4">单位负责人：</label>
              <div class="center-form-content4">
                  <select  class="center-from-select">

                  </select>
              </div>
          </li>-->
        <li class="center-form-item3 clearfix" id="inspectorsPerson">
            <label class="center-form-label4">被督察人员：</label>
            <div class="center-form-content4">

            </div>
        </li>

        <li class="center-form-item2 clearfix">
            <label class="center-form-label2"><span style="color: red">*</span>被督察单位：</label>
            <div class="center-form-content2">
                <select data-placeholder="选择部门" id="bdcdws" class="chosen-select"
                        onchange="getBdcrys(this.options[this.options.selectedIndex].value)">
                    <option value="-1"></option>
                </select>
            </div>
        </li>
        <div id='problemsDiv'>
            <div id='problemsDiv1'>
                <li class="clearfix problem-title display-hide-div">
                    <span class="clearfix problem-span "> 问题1</span>
                    <img data-id="1" data-v="1" id="deleteSceneImg1" class="delete-scene-img delete-scene-check1"
                         src="${request.contextPath}/statics/plugins/index/images/index/u349.png">
                </li>
                <li class="center-form-item3 clearfix display-hide-div" id="inspectorsPolice">
                    <label class="center-form-label4">被督察民警：</label>
                    <div class="center-form-content4">
                        <!-- <select data-placeholder="请选择被督察民警" class="center-from-select" id="bdcry" multiple>
                            <option value="-1"></option>
                        </select> -->
                        <select data-placeholder="请选择被督察民警" id="bdcry1" class="chosen-select" multiple>
                            <option value="-1"></option>
                        </select>
                    </div>
                </li>

                <li class="center-form-item2 clearfix">
                    <label class="center-form-label2">检查项目：</label>
                    <div class="center-form-content2">
                        <select data-placeholder="请选择检查项目" name="jcxm1" class="chosen-select" id="jcxm1">
                            <option value="-1"></option>
                        </select>
                    </div>
                </li>

                <li class="center-form-item4 clearfix">
                    <label class="center-form-label5">情况说明：</label>
                    <div class="center-form-content5">
                    <textarea id="qksm1" class="center-from-input"
                              style="overflow-x: hidden;overflow-y: visible; resize:none; width: 93%;height: 100px"></textarea>
                    </div>
                </li>

                <li class="center-form-item2 clearfix">
                    <label class="center-form-label2">整改类型：</label>
                    <div class="center-form-content2">
                        <select class="center-from-select" id="rectificationType1"
                                onchange="rectificationTypeSelect(this.options[this.options.selectedIndex].value,1)">
                            <option value="-1"></option>
                            <option value="0">现场纠正</option>
                            <option value="1">限时整改</option>
                            <option value="2">无问题</option>
                        </select>
                    </div>
                </li>
                <li class="center-form-item2 clearfix" id="timeLimit1" style="visibility:hidden">
                    <label class="center-form-label2">时间天数：</label>
                    <div class="center-form-content2">
                        <input id="zgts1" type="text"
                               placeholder=" 请输入天数"
                               class="center-from-input1" maxlength="2"
                               onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/^([0456789][0-9]|[3][1-9])/,'30');this.value=this.value.replace(/\D/g,'')}"
                               onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^0-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}"/>
                        <span style="font-size: 14px;color:red">最大30天</span>
                    </div>
                </li>
                <li class="center-form-item clearfix">
                    <label class="center-form-label">现场照片：</label>
                    <div class="center-form-content4">
                        <!--<input type="text" class="center-from-input"/>-->
                        <div id="imgMargin1">
                            <input type="hidden" id="fileListLength1" value="0"/>
                            <input type="hidden" id="file_1_1"/>
                            <input type="hidden" id="file_1_2"/>
                            <input type="hidden" id="file_1_3"/>
                            <input type="hidden" id="file_1_4"/>
                            <!--  <el-upload
                                      class="upload-demo"
                                      action="https://jsonplaceholder.typicode.com/posts/"
                                      :on-preview="handlePreview"
                                      :on-remove="handleRemove"
                                      :file-list="fileList2"
                                      limit="4"
                                      list-type="picture">-->
                            <!--<el-button size="small" type="primary">点击上传</el-button>-->
                            <!--<div slot="tip" class="el-upload__tip">只能上传jpg/png文件，且不超过500kb</div>-->
                            <!--</el-upload>-->
                            <el-upload
                                    action="/inspect-manage-back/app/common/file/uploadFile"
                                    list-type="picture-card"
                                    limit="4"
                                    :on-success="handleOnSuccess"
                                    :before-upload="beforeAvatarUpload"
                                    :on-preview="handlePictureCardPreview"
                                    :on-remove="handleRemove">
                                <!--<i class="el-icon-plus"></i>-->
                                <el-button size="small" type="primary">点击上传</el-button>
                                <!--<div slot="tip" class="el-upload__tip">只能上传jpg/png文件，且不超过500kb</div>-->
                            </el-upload>

                        </div>
                        <!--  <div id="imgMargin1">

                              &lt;!&ndash;<div class="img-margin" id="sceneImgDiv_1_1">
                                  <input type="file" id="sceneImgDefaultFile_1_1" data-id="1_1"
                                         onchange="updateFile(this,'1_1')"
                                         hidden/>
                                  <label for="sceneImgDefaultFile_1_1" >
                                      &lt;!&ndash;<div  class="scene-img-default ">&ndash;&gt;
                                      &lt;!&ndash;<span  class="scene-img-span-default "> +</span>&ndash;&gt;
                                      &lt;!&ndash;</div>&ndash;&gt;
                                      <img id="sceneImgDefault_1_1" data-id="1_1" class="scene-img-default "
                                           src="${request.contextPath}/statics/plugins/index/images/index/u347.png">
                                  </label>

                              </div>&ndash;&gt;
                          </div>-->
                        <!--    <div>
                                <img data-id="1" data-v="1" id="addSceneImg1" class="add-scene-img add-scene-check1"
                                     src="${request.contextPath}/statics/plugins/index/images/index/u348.png">
                                <img data-id="1" data-v="1" id="deleteSceneImg1" class="delete-scene-img delete-scene-check1"
                                     src="${request.contextPath}/statics/plugins/index/images/index/u349.png">
                            </div>-->
                    </div>
                </li>
            </div>
        </div>
        <div class="problems"></div>
        <li class="add-img-div clearfix">
            <img class="add-img " src="${request.contextPath}/statics/plugins/index/images/index/plusnew_u829.svg" 　
                 tabindex="0">
        </li>
    </ul>
    <p class="center-form-btn-box">
        <button type="button" class="btn btn-cancel btn-zl" onclick="reste()">取消</button>
        <button type="button" id="submit" class="btn btn-submit add-zl" onclick="saveFirstKind()">确认</button>
    </p>
</div>
</div>
</body>

<script src="${request.contextPath}/statics/js/modules/business/record/addDcrw.js?_${.now?long}"></script>
</html>
